# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=ftp-fuzz
pkgver=1337
pkgrel=5
epoch=1
groups=('blackarch' 'blackarch-fuzzer')
pkgdesc='The master of all master fuzzing scripts specifically targeted towards FTP server software.'
url='http://nullsecurity.net/tools/fuzzer.html'
arch=('any')
license=('custom')
source=("$pkgname::https://github.com/nullsecuritynet/tools/raw/main/fuzzer/$pkgname/release/$pkgname.py")
sha512sums=('e06081abadc27d42062c7e03715675c6cfabfb4da789e28a23c55d6eb5c5c3905e01bcb4b940776b1e85ae6d0fb46485822e8b43310326b518c6f3ca156f2b27')

prepare() {
  sed -i 's|env python|env python2|' $pkgname
}

package() {
  install -Dm 755 $pkgname "$pkgdir/usr/bin/$pkgname"
}

